To create a new user account
If the user will use a different name to log on to computers running Windows 95, Windows 98, or Windows NT, then you can change the user logon name as it appears in User logon name (pre-Windows 2000) to the different name.
Notes
dsadd user UserDN [-samid SAMName] -pwd {Password|*}
Value | Description |
---|---|
UserDN | Specifies the distinguished name of the user object to be added. |
SAMName | Specifies the Security Accounts Manager (SAM) name as the unique SAM account name for this user (for example, Linda). If not specified, dsadd will attempt to create the SAM account name using up to the first 20 characters from the common name (CN) value of UserDN. |
Pwd | Specifies the password to be used for the user account. If set to *, you are prompted for a user password. |
Notes
dsadd user /?